﻿Imports System.ComponentModel
Imports System.Collections.ObjectModel

Public Class Billing

    Public Property BillID As Integer

    Public Property PatientName As String = String.Empty

    Public Property BillDate As Date

    Public Property PatientID As Integer

    Public Property SubTotal As Double

    Public Property OtherCharges As Double

    Public Property NetAmt As Double

    Public Property AdvReceived As Double

    Public Property Remarks As String = String.Empty

    Public Property CreatedBy As Integer

    Public Property CreatedByName As String

    Public Property CreatedDateTime As Date?

    Public Property BillCategory As Integer

    Public Property BillCategoryName As String

    Public Property IsDischargedBill As Boolean = False

    Public Property DischargeDate As Date?

    Dim _billItems As New ObservableCollection(Of BillItems)
    Public ReadOnly Property billItems As ObservableCollection(Of BillItems)
        Get
            Return _billItems
        End Get
    End Property

    Dim _billDisTax As New ObservableCollection(Of BillDiscountTax)
    Public ReadOnly Property billDisTax As ObservableCollection(Of BillDiscountTax)
        Get
            Return _billDisTax
        End Get
    End Property

    Public Property BillPaymentDetails As BillPayDetails

End Class

